import { req } from '../utils/req.js';

export default {
  getIndex(param) {
    return req.post("/Api8.index/dashboard", param)
  },
  getList(param) {
    return req.post("/Api8.info/getListTong", param)
  },
  add(param) {
    return req.post("/Api8.info/payTong", param)
  },
  getDetail(param) {
    return req.post("/Api8.Info/getInfoTong", param)
  },
  del(param) {
    return req.post("/Api.Info/deleteInfo", param)
  },
  like(param) {
    return req.post("/Api6.Info/like", param)
  },
  addComment(param) {
    return req.post("/Api6.Info/comment", param)
  },
  getFilterByCategory(param) {
    return req.post("/api8.info/getFilterByCategory", param)
  },
  getAllTree(param) {
    return req.post("/Api.category/getAllTree", param)
  },
  getRuleList(param) {
    return req.post("/Api5.category/getCategoryByid", param)
  },
  refresh(param) {
    return req.post("/api5.info/refresh", param)
  },
  stick(param) {
    return req.post("/api5.info/top", param)
  },
  delComment(param) {
    return req.post("/Api8.info/deleteCommment", param)
  },
}